{% extends "::layout.html.twig" %}
{% block body %}
        
{% for type, flashMessages in app.session.flashbag.all() %}
    {% for flashMessage in flashMessages %}
        <div class="alert alert-block alert-{{ type }}">
        <h4 class="alert-heading">{{ type|title }}</h4>
            {{ message|trans({}, 'FOSUserBundle') }}
        </div>
    {% endfor %}
{% endfor %}
 
  {% block fos_user_content %}
  {% endblock fos_user_content %}
 
{% endblock %}